//
//  ZLSessionListCell.h
//  ZLYoYoIM_Example
//
//  Created by 赵磊 on 2021/1/15.
//  Copyright © 2021 itzhaolei. All rights reserved.
//

#import <NIMKit/NIMAvatarImageView.h>
#import <NIMKit/NIMSessionListCell.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZLSessionListCell : UITableViewCell

///图片
@property (nonatomic,weak) NIMAvatarImageView *iconImageView;
///标题
@property (nonatomic,weak) UILabel *titleLabel;
///子标题
@property (nonatomic,weak) UILabel *subTitleLabel;
///时间
@property (nonatomic,weak) UILabel *timeLabel;
///角标
@property (nonatomic,weak) UILabel *badgeLabel;
///底部分割线
@property (nonatomic,weak) CALayer *bottomLine;

///点击头像
@property (nonatomic,copy) void (^clickIcon)(void);

/**单元格创建和复用过程的封装
 @discusstion
 该函数只是将单元格创建和复用过程的封装，标识符为ZLFollowListCell
 @param tableView 相关表视图
 @return 对应的单元格
 */
+ (instancetype)reuseCell:(UITableView *)tableView;

@end

NS_ASSUME_NONNULL_END
